package com.gopay.common.domain.dic;
// Generated 2015-12-14 18:26:34 by Hibernate Tools 4.3.1.Final

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * @ClassName: DicCbCountryAreaCode 
 * @Description: 国家和地区代码表
 * @author huangcheng 
 * @date 2016年7月11日 上午11:56:34
 */
@Entity
@Table(name = "DIC_CB_COUNTRY_AREA_CODE")
public class DicCbCountryAreaCode extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -8517822074679381279L;

    /** 
     * 数字代码
     */
    private String numericCode;

    /** 
     * 字母代码
     */
    private String letterCode;

    /** 
     * 中文简称
     */
    private String chineseShortName;

    /** 
     * 英文简称
     */
    private String englishShortName;

    /** 
     * 中文全称
     */
    private String chineseFullName;

    /** 
     * 英文全称
     */
    private String englishFullName;

    public DicCbCountryAreaCode() {
    }

    public DicCbCountryAreaCode(String numericCode) {
        setNumericCode(numericCode);
    }

    public DicCbCountryAreaCode(String numericCode, String letterCode, String chineseShortName, String englishShortName,
            String chineseFullName, String englishFullName) {
        setNumericCode(numericCode);
        setLetterCode(letterCode);
        setChineseShortName(chineseShortName);
        setEnglishShortName(englishShortName);
        setChineseFullName(chineseFullName);
        setEnglishFullName(englishFullName);
    }

    @Id

    @Column(name = "NUMERIC_CODE", unique = true, nullable = false, length = 5)
    public String getNumericCode() {
        return this.numericCode;
    }

    public void setNumericCode(String numericCode) {
        this.numericCode = numericCode;
    }

    @Column(name = "LETTER_CODE", length = 5)
    public String getLetterCode() {
        return this.letterCode;
    }

    public void setLetterCode(String letterCode) {
        this.letterCode = letterCode;
    }

    @Column(name = "CHINESE_SHORT_NAME", length = 40)
    public String getChineseShortName() {
        return this.chineseShortName;
    }

    public void setChineseShortName(String chineseShortName) {
        this.chineseShortName = chineseShortName;
    }

    @Column(name = "ENGLISH_SHORT_NAME", length = 50)
    public String getEnglishShortName() {
        return this.englishShortName;
    }

    public void setEnglishShortName(String englishShortName) {
        this.englishShortName = englishShortName;
    }

    @Column(name = "CHINESE_FULL_NAME", length = 50)
    public String getChineseFullName() {
        return this.chineseFullName;
    }

    public void setChineseFullName(String chineseFullName) {
        this.chineseFullName = chineseFullName;
    }

    @Column(name = "ENGLISH_FULL_NAME", length = 60)
    public String getEnglishFullName() {
        return this.englishFullName;
    }

    public void setEnglishFullName(String englishFullName) {
        this.englishFullName = englishFullName;
    }

}
